package com.virus.coronavirus.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author: Bbeginner
 * @Date: 2021/2/4 13:34
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tb_user")
public class User {
    @Id
    private Long id;

    private String username;

    private String nickname;

    private String email;

    private String phone_number;

    private Date create_time;

    private  Date modified_time;

    private Integer sex;

    private String password;

    private Date birth;

    private String avatar;

    private String salt;

    private Integer status;
}
